package com.yn.iotxiao.sql.mapper;

import com.yn.iotxiao.sql.entity.User.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    User getWithLoginId(String loginId);
    User getWithUid(String uid);
    int insert(User user);

    int batchInsert(List<User> list);

    int delete(String uid);
}
